<extend name="../Public/base" />
<block name="title">上传文件</block>
<block name='nav'>
    <nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i>上传文档</nav>
</block>
<block name="body">
    <form class="form form-horizontal form-validate" enctype="multipart/form-data" method="post">
        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>文件类型：</label>
            <div class="formControls col-xs-8 col-sm-8">
                <span class="select-box wp30">
				<select name="type_id" class="select">
                   <volist name="types" id="var">
                        <option value="{$var.type_id}">{$var.type_name}</option>
                    </volist>
                </select>
				</span>
            </div>
        </div>

        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-3">文件：</label>
            <div class="formControls col-xs-8 col-sm-8"> <span class="btn-upload form-group">
                <input class="input-text upload-url" type="text" name="file_name" id="uploadfile-2" readonly="">
                <a href="javascript:void();" class="btn btn-primary upload-btn"><i class="Hui-iconfont">&#xe642;</i> 浏览文件</a>
                <input type="file" multiple="" name="file" class="input-file">
                </span> </div>
        </div>
        <div class="row cl">
            <label class="form-label col-xs-4 col-sm-3">备注：</label>
            <div class="formControls col-xs-8 col-sm-8">
                <textarea name="remark" cols="" rows="" class="textarea"  placeholder="说点什么...100个字符以内" dragonfly="true" onKeyUp="$.Huitextarealength(this,100)"></textarea>
                <p class="textarea-numberbar"><em class="textarea-length">0</em>/100</p>
            </div>
        </div>
        <div class="row cl">
            <div class="col-xs-8 col-sm-8 col-xs-offset-4 col-sm-offset-3">
                <input class="btn btn-primary radius" type="submit" value="&nbsp;&nbsp;提交&nbsp;&nbsp;">
            </div>
        </div>
    </form>
</block>